#set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wl,-rpath=./lib)
include_directories(../inc)

file(GLOB_RECURSE ALL_SOURCE
	main.c
	serial-port.c
	)

message(${ALL_SOURCE})
add_executable(${PROJECT_NAME} ${ALL_SOURCE})
set_target_properties(${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "-pthread" LINK_FLAGS "-pthread")
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
